package model

import "gorm.io/gorm"

type Goods struct {
	gorm.Model
	GoodsName    string  `gorm:"type:varchar(30);not null;comment:商品名称"`
	GoodsProto   float32 `gorm:"type:decimal(2,10);not null;comment:商品价格"`
	GoodsNum     int     `gorm:"type:int(11);not null;comment:商品数量"`
	GoodsAddress string  `gorm:"type:varchar(20);not null;comment:商品地址"`
	GoodsInfo    string  `gorm:"type:varchar(50);not null;comment:商品详情"`
}
